import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import 'element-plus/dist/index.css'
import 'ant-design-vue/dist/reset.css';
import ElementPlus from 'element-plus'
import router from '@/router'
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persistedstate' 
const pinia = createPinia()

// 使用持久化存储插件
pinia.use(piniaPluginPersist)
const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(ElementPlus)
app.mount('#app')

